<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>引入vue</title>
	</head>
	<body>
		<div id="app">
			姓名：{{name}}<br />
			年龄：{{age}}<br />
			性别：{{sex}}<br />
			身高：{{h}}cm<br />
			体重：{{w}}kg<br />
			<hr />
			<input v-model="name" type="text"/>
			<hr />
			{{msg}}
			<p v-text="msg"></p>
			<p v-html="msg"></p>
		</div>
		<script>
			const app=Vue.createApp({
				data(){
					return{
						name:"zhansan",
						age:"18",
						sex:"男",
						h:"180",
						w:"60",
						msg:'hello <b>vue<b/>'
					}
				}
			}).mount("#app")
		</script>
	</body>
</html>